package management;

import java.io.*;
public class AfConsole {
    BufferedReader reader;//避免乱码产生
    public AfConsole() {
        InputStreamReader m = new InputStreamReader(System.in);
    }
    //输出显示一个字符串
    public void print(String s) {
        System.out.println(s);
    }
    public void println(String s) {
        System.out.println(s);
    }

    public String readString(String defValue) {
        try {
            String s = reader.readLine();
            if (s.trim().length() == 0) {
                return defValue;
            }
            return s;
        } catch (Exception e) {
            return defValue;
        }
    }
}
